import { getAction } from './public'

// 车站列表
const getStationList = () => {
    return getAction('/stations')
}

// 车票查询
const getTrainList = (data = {}) => {
    return getAction('/query', data)
}

// 车票经停站查询
const getTrainNoList = (data = {}) => {
    return getAction('/queryByTrainNo', data)
}

export {
    getStationList,
    getTrainList,
    getTrainNoList
}